<?php
include "required_code.php"; 
session_start();
session_destroy();
$db_close=db_disconnect($db_open);
echo "Logging out";
echo "<meta http-equiv='refresh' content='1;URL=index.php' />";
?>